package com.zimmur.model.account;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class User {
    private String userId;
    private String userName;
    private String wxOpenId="";
    private String wbOpenId="";
    private String mobileNo;
    private String qq="";
    private String nickName="";
    private String signature="";
    private String userIcon;
    @JsonIgnore
    private String userPwd;
    private Integer gender=0;
    private String birthday;
    private String occupation;
    private String categoryCode="xk";
    private String categoryName;
    private String authCode="";
    @JsonIgnore
    private String deviceId;
    @JsonIgnore
    private String deviceType;
    private String os;
    @JsonIgnore
    private Integer isValide=1;    
    private String inviteCode="";
    @JsonIgnore
    private Integer isApply=0;
    
    private AccountInfo accountInfo;
    @JsonIgnore
    private Integer registerDate;
    @JsonIgnore
    private String registerInviteCode="";
    //文章数
    private Integer topicNum;
    //关注粉丝数
    private Integer followNum;
    //用户标签
    private String tags;
    //商品数
    private Integer goodsNum;
    
    private String email;
    //购物车物品数
    private Integer cartItemNum = 0;
    private String cartItemJe = "0.0";
    //未读消息数
    private Integer messageNum=0;
    //公钥
    private String publicKey="";
    
    /**
     * 愿望单数量
     */
    private Integer wishNum = 0;
    
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getWxOpenId() {
		return wxOpenId;
	}
	public void setWxOpenId(String wxOpenId) {
		this.wxOpenId = wxOpenId;
	}
	public String getWbOpenId() {
		return wbOpenId;
	}
	public void setWbOpenId(String wbOpenId) {
		this.wbOpenId = wbOpenId;
	}
	public String getMobileNo() {
		return mobileNo;
	}
	public void setMobileNo(String mobileNo) {
		this.mobileNo = mobileNo;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public String getUserIcon() {
		return userIcon;
	}
	public void setUserIcon(String userIcon) {
		this.userIcon = userIcon;
	}
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	public Integer getGender() {
		return gender;
	}
	public void setGender(Integer gender) {
		this.gender = gender;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getOccupation() {
		return occupation;
	}
	public void setOccupation(String occupation) {
		this.occupation = occupation;
	}
	public String getCategoryCode() {
		return categoryCode;
	}
	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}
	
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public String getAuthCode() {
		return authCode;
	}
	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}
	public String getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	public String getDeviceType() {
		return deviceType;
	}
	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}
	public String getOs() {
		return os;
	}
	public void setOs(String os) {
		this.os = os;
	}
	public Integer getIsValide() {
		return isValide;
	}
	public void setIsValide(Integer isValide) {
		this.isValide = isValide;
	}	
	
	public String getInviteCode() {
		return inviteCode;
	}
	public void setInviteCode(String inviteCode) {
		this.inviteCode = inviteCode;
	}
	public Integer getIsApply() {
		return isApply;
	}
	public void setIsApply(Integer isApply) {
		this.isApply = isApply;
	}
	public AccountInfo getAccountInfo() {
		return accountInfo;
	}
	public void setAccountInfo(AccountInfo accountInfo) {
		this.accountInfo = accountInfo;
	}
	public Integer getRegisterDate() {
		return registerDate;
	}
	public void setRegisterDate(Integer registerDate) {
		this.registerDate = registerDate;
	}
	public String getRegisterInviteCode() {
		return registerInviteCode;
	}
	public void setRegisterInviteCode(String registerInviteCode) {
		this.registerInviteCode = registerInviteCode;
	}
	
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Integer getTopicNum() {
		return topicNum;
	}
	public void setTopicNum(Integer topicNum) {
		this.topicNum = topicNum;
	}
	public Integer getFollowNum() {
		return followNum;
	}
	public void setFollowNum(Integer followNum) {
		this.followNum = followNum;
	}
	
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public Integer getGoodsNum() {
		return goodsNum;
	}
	public void setGoodsNum(Integer goodsNum) {
		this.goodsNum = goodsNum;
	}
	
	public Integer getCartItemNum() {
		return cartItemNum;
	}
	public void setCartItemNum(Integer cartItemNum) {
		this.cartItemNum = cartItemNum;
	}
	public Integer getMessageNum() {
		return messageNum;
	}
	public void setMessageNum(Integer messagesNum) {
		this.messageNum = messagesNum;
	}
	
	public String getPublicKey() {
		return publicKey;
	}
	public void setPublicKey(String publicKey) {
		this.publicKey = publicKey;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", wxOpenId=" + wxOpenId + ", wbOpenId=" + wbOpenId
				+ ", mobileNo=" + mobileNo + ", qq=" + qq + ", nickName=" + nickName + ", userIcon=" + userIcon
				+ ", userPwd=" + userPwd + ", gender=" + gender + ", birthday=" + birthday + ", occupation="
				+ occupation + ", categoryCode=" + categoryCode + ", authCode=" + authCode + ", deviceId=" + deviceId
				+ ", deviceType=" + deviceType + ", os=" + os + ", isValide=" + isValide + "]";
	}
	public String getCartItemJe() {
		return cartItemJe;
	}
	public void setCartItemJe(String cartItemJe) {
		this.cartItemJe = cartItemJe;
	}
	public Integer getWishNum() {
		return wishNum;
	}
	public void setWishNum(Integer wishNum) {
		this.wishNum = wishNum;
	}
	 
    
}